<?php
$this->load->view('common/header',
array(
  'title' =>'终端列表'
));
$this->load->view('common/sliderbar',
array(
  'menu'   => 'terminal',
  'option' => 'terminallist'
));
 ?>
<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		<ul class="breadcrumb">
			<li>
				<a>终端列表</a>
			</li>
		</ul>
	</div>
	<div style="padding-top:5px;padding-left:5px;">
		<!-- <form class="form-search" style="width:300px;display:block;float:left" action="/shop/my_callback" post="get">
			<div class="input-group">
				<input type="text" class="form-control search-query" name="search" placeholder="请输入关键字" <?php if(!empty($_GET[ 'search'])){echo 'value="'.$_GET[ 'search']. '"';} ?> />
				<span class="input-group-btn">
        <input type="submit"  class="btn btn-info btn-sm" value="搜索">
				</span>
			</div>
		</form> -->
		<!-- <a href="/shop/shopexcel">导出所有店铺信息</a> -->
		<div style="float:right;display:inline-block;margin-right:20px;">
			<ul class="pagination" style="margin:0px;">
  				<?php echo $this->pagination->create_links() ?>
			</ul>
		</div>
	</div>
		<div class="row">
			<div class="table-responsive">
				<table id="sample-table-1" class="table table-striped table-bordered table-hover">
					<thead>
						<tr>
							<th>编号</th>
							<th>终端客户(姓名)</th>
							<th style="min-width:60px;">电话</th>
							<th>出生年月</th>
							<th>店铺</th>
							<th>品牌</th>
							<th style="min-width:60px;">负责老师</th>
							<th class="center" style="min-width:50px;">操作</th>
						</tr>
					</thead>
					<tbody>
						<?php foreach ($terminallist as $terminallist): ?>
						<tr>
							<td class="J_teid"><?php echo $terminallist['teid'] ?></td>
							<td class="J_tename"><?php echo $terminallist['tename'] ?></td>
							<td class="J_tetel"><?php echo $terminallist['tetel'] ?></td>
							<td class="J_tebirth"><?php echo $terminallist['tebirth'] ?></td>
							<td class="J_shopid"><?php echo $terminallist['shopid'] ?></td>
							<td class="J_bid"><?php echo $terminallist['bid'] ?></td>
							<td class="J_teteacher"><?php echo $terminallist['teteacher'] ?></td>
							<td class="center"><a href="/terminal/terminaldetail?teid=<?php echo $terminallist['teid'] ?>">详情</a></td>
            </tr>
						<?php endforeach; ?>
					</tbody>
				</table>
			</div>
		</div>
</div>
<!-- <script type="text/javascript" src="../public/js/shop/mycallback.js"></script> -->
<?php
$this->load->view('common/footer');
?>
